package com.dhcc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dhcc.entity.SysUserDepartmentInstitution;

import java.util.List;

public interface SysUserDepartmentInstitutionService extends IService<SysUserDepartmentInstitution> {
    List<String> getDepartment(String institutionId, String userId,String institutionRoleId);

    List<String> getPositionIds(String institutionId, String departmentId, String userId,String institutionRoleId);

    Integer updateUserPositionByUserId(String userId, String positionId);

    String selectAdminId(String institutionId, String institutionRoleId);

    Integer addData(String userId, String institutionId, String departmentId, String positionId);

    List<String> selectPositionList(String institutionId, String institutionRoleId);

    Integer insertPositionInforment(String institutionId, String institutionRoleId, String departmentId, String positionId);

    Integer deleteData(String institutionId, String institutionRoleId, String departmentId, String positionId);

    Integer deleteInstitutionData(String institutionId);

    Integer addInstitutionData(String userId, String institutionId, String departmentId, String positionId, String institutionRoleId);
}
